home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ARASAN_S.ZIP / COLOR.H < prev    next >
C/C++ Source or Header  |  1994-02-19  |  397b  |  21 lines

  1. // Copyright 1994 by Jon Dart.  All Rights Reserved.
  2.  
  3. #ifndef _COLOR_H
  4. #define _COLOR_H
  5.  
  6. #include <iostream.h>
  7.  
  8. enum ColorType { Black = 0, White = 1 };
  9.  
  10. inline ColorType OppositeColor( const ColorType color )
  11. {
  12.     return ( color == White ) ? Black : White;    
  13. }
  14.  
  15. extern ostream & operator << (ostream &o, ColorType color);
  16.  
  17. extern char *Image( const ColorType side );
  18.  
  19. #endif
  20.  
  21.